import Vue from 'vue'
import App from './App'
//网页端自定义路由
import {
	router,
	RouterMount
} from '@/static/router/router.js'
Vue.use(router)


Vue.config.productionTip = false

App.mpType = 'app'


// 通用js
import $ from "@/static/js/jquery.min.js";
Vue.prototype.$ = $;

import config from './static/js/config.js';
Vue.prototype.$config = config;

import functions from './static/js/functions.js';
Vue.prototype.$functions = functions;

import request from './static/js/request.js';
Vue.prototype.$request = request;




const app = new Vue({
    ...App
})



//网页端自定义路由
// #ifdef H5
RouterMount(app, router, '#app')
// #endif
// app端恢复普通路由
// #ifndef H5
app.$mount(); 
// #endif
